package com.health.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author health
 * @since 2023-04-19
 */
@Getter
@Setter
@Data
  @TableName("doctor")
@ApiModel(value = "Doctor对象", description = "")
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键,id自增")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("医生姓名")
      private String name;

      @ApiModelProperty("医生头像")
      private String avatar;

      @ApiModelProperty("医生职称")
      private String title;

      @ApiModelProperty("医院ID")
      private Integer hospitalId;

      @ApiModelProperty("二级科室")
      private Integer consultingroomId;

      @ApiModelProperty("擅长领域")
      private String expertise;

      @ApiModelProperty("简介")
      private String info;

      @ApiModelProperty("状态0启用 1废弃")
      private Byte status;

      @ApiModelProperty("排序")
      private Integer sort;

      @ApiModelProperty("图文问诊费用")
      private BigDecimal inquiryArticleFee;

      @ApiModelProperty("挂号费用")
      private BigDecimal registerFee;

      @ApiModelProperty("电话问诊费用")
      private BigDecimal inquiryMobileFee;

      @ApiModelProperty("逻辑删除")
      private Byte isDeleted;

      @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT)
      private LocalDateTime createTime;

      @ApiModelProperty("更新时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime updateTime;

  public Doctor() {
  }

  public Doctor(Integer id, String name) {
    this.id = id;
    this.name = name;
  }
}
